<?php

/**
 * @file
 * account_features.features.field_base.inc
 */

/**
 * Implements hook_field_default_field_bases().
 */
function account_features_field_default_field_bases() {
  $field_bases = [];

  // Exported field_base: 'field_avatar'.
  $field_bases['field_avatar'] = [
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => [],
    'field_name' => 'field_avatar',
    'indexes' => [
      'fid' => [
        0 => 'fid',
      ],
    ],
    'locked' => 0,
    'module' => 'image',
    'settings' => [
      'default_image' => 0,
      'uri_scheme' => 'public',
    ],
    'translatable' => 0,
    'type' => 'image',
  ];

  // Exported field_base: 'field_nickname'.
  $field_bases['field_nickname'] = [
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => [],
    'field_name' => 'field_nickname',
    'indexes' => [
      'format' => [
        0 => 'format',
      ],
    ],
    'locked' => 0,
    'module' => 'text',
    'settings' => [
      'max_length' => 32,
    ],
    'translatable' => 0,
    'type' => 'text',
  ];

  // Exported field_base: 'field_phone'.
  $field_bases['field_phone'] = [
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => [],
    'field_name' => 'field_phone',
    'indexes' => [
      'format' => [
        0 => 'format',
      ],
    ],
    'locked' => 0,
    'module' => 'text',
    'settings' => [
      'max_length' => 32,
    ],
    'translatable' => 0,
    'type' => 'text',
  ];

  // Exported field_base: 'field_sex'.
  $field_bases['field_sex'] = [
    'active' => 1,
    'cardinality' => 1,
    'deleted' => 0,
    'entity_types' => [],
    'field_name' => 'field_sex',
    'indexes' => [
      'value' => [
        0 => 'value',
      ],
    ],
    'locked' => 0,
    'module' => 'list',
    'settings' => [
      'allowed_values' => [
        0 => '未知',
        1 => '男',
        2 => '女',
      ],
      'allowed_values_function' => '',
    ],
    'translatable' => 0,
    'type' => 'list_integer',
  ];

  return $field_bases;
}
